<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/easyui-header.jsp"/>
    <script type="text/javascript" src="/static/js/views/client.js"></script>
</head>
<body>

<%--数据列表--%>
<table id="client_datagrid" border="false" openAnimation="'show'"></table>

<%--数据列表工具栏--%>
<div id="client_datagrid_toolbar" style="height: 30px">
    <div style="float: left;padding-left: 20px;">
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="addClient">新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="editClient">编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reloadClient">刷新</a>
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="detailsClient">查看详情</a>
        <a class="easyui-linkbutton" iconCls="icon-examRegist" plain="true" data-cmd="traceClient">跟进客户</a>
        <a class="easyui-linkbutton" iconCls="icon-join" plain="true" data-cmd="shareClient">共享到资源池</a>
        <a class="easyui-linkbutton" iconCls="icon-mini-append" plain="true" data-cmd="formalClient">转为正式学员</a>
        <a class="easyui-linkbutton" iconCls="icon-export" plain="true" data-cmd="exportClient">导出数据</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="advancedSearchClient">高级筛查</a>
    </div>

    <div style="float: right; padding-right: 30px;">
        关键字查找 &emsp;: &emsp;<input id="keyword_input" class="easyui-textbox" prompt="姓名/地址/qq/email" name="keyword"/>
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="confirmSearch">GO</a>
    </div>
</div>

<%--增加客户弹窗--%>
<div id="client_add_dialog" class="easyui-dialog" style="width:842px;height:550px;top: 100px"
     data-options="iconCls:'icon-add',modal:true ,closed:true,buttons:'#client_add_buttons',border:'thin'">
    <form id="client_add_form" method="post">
        <input id="client_id" type="hidden" name="id"/>
        <span style="color: #ff9900;padding-left: 10px; padding-top: 25px;font-size: 20px">基本信息</span>
        <table>
            <tr>
                <td style="padding: 3px">客户名:</td>
                <td style="padding: 3px">
                    <%--<input class="easyui-validatebox" name="name" data-options="required:true"/>--%>
                    <input id="cName" class="easyui-textbox" name="name"
                           data-options="required:true,validType:'minLength[2]',prompt:'请输入两个以上字符',
                           validateOnBlur:true,events:{blur:checkClient}"/>
                </td>
                <td style="padding: 3px">年龄:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="age"
                           data-options="validType:['numberCheck','length[1,2]'],validateOnBlur:true"/>
                </td>
                <td style="padding: 3px">性别:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="gender.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=5'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">电话:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="tel"
                           data-options="validType:'telNum',prompt:'请输入手机或固话号码',validateOnBlur:true"/>
                </td>
                <td style="padding: 3px">qq号码:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="qq"
                           data-options="validType:['numberCheck','length[5,11]'],validateOnBlur:true"/>
                </td>
                <td style="padding: 3px">email:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="email" validtype="email" invalidMessage="邮箱格式不正确"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">微信:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="wechat"
                           data-options="validType:['englishCheckSub','length[5,20]'],validateOnBlur:true"/>
                </td>
                <td style="padding: 3px">地址:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="address"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">毕业学校:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="school"/>
                </td>
                <td style="padding: 3px">主修课程:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="major"/></td>
                <td style="padding: 3px">职业:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="job"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">工作年限:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="yearsOfWorking"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">意向等级:</td>
                <td style="padding: 3px">
                    <input id="wishLevel_combobox" class="easyui-combobox" name="wishLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=2'"/>
                </td>
                <td style="padding: 3px">意向校区:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishCampus.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=7'"/>
                </td>
                <td style="padding: 3px">意向班级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishClass.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">意向学科:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishSubject.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=13'"/>
                </td>
                <td style="padding: 3px">客户类型:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="clientType.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=11'"/>
                </td>
                <td style="padding: 3px">来自院校:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="bigCustomer.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/school/getAllSchool'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">了解渠道:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="origin.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=8'"/>
                </td>
                <td style="padding: 3px">介绍人:</td>
                <td style="padding: 3px">
                    <input id="introducer_input" class="easyui-textbox" name="introducer"
                           data-options="prompt:'老学员推荐有优惠哦!',validType:'minLength[2]',events:{blur:isExsists},invalidMessage:'请输入两位或以上字符'"/>
                </td>
                <td style="padding: 3px">英语等级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="foreignLangLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=10'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">是否付费:</td>
                <td style="padding: 3px">
                    <select id="haspaid_combobox" class="easyui-combobox" name="haspaid" editable="false"
                            style="width: 173px"
                            data-options="required:true,validateOnBlur:true">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select></td>
                <td style="padding: 3px">是否跟进:</td>
                <td style="padding: 3px">
                    <select id="isTrace_combobox" class="easyui-combobox" name="isTrace" editable="false"
                            style="width: 173px"
                            data-options="required:true,prompt:'否,客户将存入客户池',validType:'isTrace[1]',validateOnBlur:true">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select></td>
            </tr>
            <tr>
                <td style="padding: 3px">关注问题:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="followIssue"
                           data-options="prompt:'就客户关注的问题简短描述'"
                           style="width:205px;height: 100px" multiline="true"/>
                </td>
                <td style="padding: 3px">备注:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="remark"
                           style="width:205px;height: 100px" multiline="true"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--查看详情弹框--%>
<div id="client_check_dialog" class="easyui-dialog" style="width:842px;height:550px;top: 100px"
     data-options="iconCls:'icon-search',modal:true ,closed:true,buttons:'#client_check_buttons',border:'thin'">
    <form id="client_check_form">
        <table style="padding-top: 3px">
            <h2 style="color: red;">以下信息均为只读</h2>
            <tr>
                <td style="padding: 3px">客户名:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="name"/></td>
                <td style="padding: 3px">年龄:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="age"/></td>
                <td style="padding: 3px">性别:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="gender.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=5'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">电话:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="tel"/></td>
                <td style="padding: 3px">qq号码:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="qq"/></td>
                <td style="padding: 3px">email:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="email"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">微信:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="wechat"/></td>
                <td style="padding: 3px">地址:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="address"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">毕业学校:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="school"/></td>
                <td style="padding: 3px">主修课程:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="major"/></td>
                <td style="padding: 3px">英语等级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="foreignLangLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=10'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">职业:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="job"/></td>
                <td style="padding: 3px">工作年限:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="yearsOfWorking"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">意向等级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=2'"/>
                </td>
                <td style="padding: 3px">意向校区:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishCampus.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=7'"/>
                </td>
                <td style="padding: 3px">意向班级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishClass.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">意向学科:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="wishSubject.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=13'"/>
                </td>
                <td style="padding: 3px">客户类型:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" name="clientType.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=11'"/>
                </td>
                <td style="padding: 3px">介绍人:</td>
                <td style="padding: 3px">
                    <input id="check_introducer" class="easyui-textbox" name="introducer"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">建档时间:</td>
                <td style="padding: 3px">
                    <input class="easyui-datebox" name="buildDocTime"/></td>
                <td style="padding: 3px">跟进次数:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="traceNumber"/></td>
                <td style="padding: 3px">末次跟进:</td>
                <td style="padding: 3px">
                    <input class="easyui-datebox" name="lastTraceTime"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">关注问题:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="followIssue"
                           style="width:205px;height: 100px" multiline="true"/>
                </td>
                <td style="padding: 3px">备注:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="remark"
                           style="width:205px;height: 100px" multiline="true"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--跟进潜在客户--%>
<div id="client_trace_dialog" class="easyui-dialog" style="width:843px;height:520px;top: 100px"
     data-options="iconCls:'icon-add',modal:true ,closed:true,buttons:'#client_trace_buttons',border:'thin'">
    <form id="client_trace_form">
        <input id="clientId" type="hidden" name="client.id"/> <%--隐藏跟进客户的id,传到后台做数据封装--%>
        <table style="padding-top: 3px">
            <tr>
                <td style="padding: 3px">客户名:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="name"/></td>
                <td style="padding: 3px">年龄:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="age"/></td>
                <td style="padding: 3px">性别:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" readonly="true" name="gender.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=5'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">电话:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="tel"/></td>
                <td style="padding: 3px">qq号码:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="qq"/></td>
                <td style="padding: 3px">email:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="email"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">微信:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="wechat"/></td>
                <td style="padding: 3px">地址:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="address"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">毕业学校:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="school"/></td>
                <td style="padding: 3px">主修课程:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="major"/></td>
                <td style="padding: 3px">英语等级:</td>
                <td style="padding: 3px">
                    <input class="easyui-combobox" readonly="true" name="foreignLangLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=10'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">职业:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="job"/></td>
                <td style="padding: 3px">工作年限:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="yearsOfWorking"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">跟进次数:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" readonly="true" name="traceNumber"/></td>
                <td style="padding: 3px">末次跟进:</td>
                <td style="padding: 3px">
                    <input class="easyui-datebox" readonly="true" name="lastTraceTime"/></td>
            </tr>
            <tr>
                <td style="padding: 3px">交流问题:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="traceMatter"
                           style="width:205px;height: 100px" data-options="required:true,validType:'minLength[11]',prompt:'请输入10字以上问题信息',
                           validateOnBlur:true,multiline:true"/>
                </td>
                <td style="padding: 3px">结果摘要:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="synopsis"
                           style="width:205px;height: 100px" data-options="required:true,validType:'minLength[11]',prompt:'请输入10字以上摘要信息',
                           validateOnBlur:true,multiline:true"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">跟进自评:</td>
                <td style="padding: 3px">
                    <input class="easyui-textbox" name="traceAim"
                           style="width:205px;height: 60px" data-options="required:true,validType:'minLength[11]',prompt:'填写10个字的自我评价',
                           validateOnBlur:true,multiline:true"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--客户转为正式学员--%>
<div id="client_formal_dialog" iconCls="icon-edit">
    <form id="client_formal_form" method="post">
        <div id="client_formal_tabs" class="easyui-tabs" plain="true" style="height: 398px;">
            <div title="基本信息" iconCls="icon-join" fit="true">
                <table id="start_table" align="center">
                    <tr>
                        <td>
                            <span style="color: #ff9900;padding-left: 10px; font-size: 17px">基本信息</span>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">客户名:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="name"/></td>
                        <td style="padding: 3px">年龄:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="age"/></td>
                        <td style="padding: 3px">性别:</td>
                        <td style="padding: 3px">
                            <%--<input class="easyui-combobox" readonly="true" name="gender" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=5'"/>--%>
                            <select id="gender" class="easyui-combobox" name="gender" editable="false"
                                    style="width: 173px">
                                <option value="0">男</option>
                                <option value="1">女</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">电话:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="tel"/></td>
                        <td style="padding: 3px">qq号码:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="qq"/></td>
                        <td style="padding: 3px">地址:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="address"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">录入时间:</td>
                        <td style="padding: 3px">
                            <input class="easyui-datebox" readonly="true" name="inputTime"/></td>
                        <td style="padding: 3px">录入人:</td>
                        <td style="padding: 3px">
                            <input class="easyui-textbox" readonly="true" name="inputEmp"/></td>
                    </tr>
                    <tr>
                        <td>
                            <span style="color: #ff9900;padding-left: 10px; font-size: 17px">缴费信息</span>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">总学费:</td>
                        <td style="padding: 3px">
                            <input id="totalFee" class="easyui-textbox" name="totalFee"
                                   data-options="required:true,validType:'numberCheck',prompt:'请输入金额',
                                   validateOnBlur:true,events:{blur:count}"/>
                        </td>
                        <td style="padding: 3px">已缴费用:</td>
                        <td style="padding: 3px">
                            <input id="paidFee" class="easyui-textbox" name="paidFee"
                                   data-options="required:true,validType:'numberCheck',prompt:'请输入金额',
                                   validateOnBlur:true,events:{blur:count1}"/>
                        </td>
                        <td style="padding: 3px">未缴费用:</td>
                        <td style="padding: 3px">
                            <input id="unPaidFee" class="easyui-textbox" editable="false" name="unPaidFee"/>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">缴费状态:</td>
                        <td style="padding: 3px">
                            <select id="feeStatus" class="easyui-combobox" name="feeStatus" disabled="true"
                                    style="width: 173px">
                                <option value="0">未缴清</option>
                                <option value="1">已缴清</option>
                            </select></td>
                        <td style="padding: 3px">付款方式:</td>
                        <td style="padding: 3px">
                            <input class="easyui-combobox" name="payment.id" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=12',required:true"/>
                        </td>
                        <td style="padding: 3px">支付类型:</td>
                        <td style="padding: 3px">
                            <input class="easyui-combobox" name="paymentType.id" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=11',required:true"/>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">入学校区:</td>
                        <td style="padding: 3px">
                            <input class="easyui-combobox" name="campus.id" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=7',required:true"/>
                        </td>
                        <td style="padding: 3px">入学学院:</td>
                        <td style="padding: 3px">
                            <input class="easyui-combobox" name="college.id" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=6',required:true"/>
                        </td>
                        <td style="padding: 3px">入学班级:</td>
                        <td style="padding: 3px">
                            <input class="easyui-combobox" name="classgrade.id" editable="false"
                                   data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade',required:true"/>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px">入学时间:</td>
                        <td style="padding: 3px">
                            <input id="inClassTime" class="easyui-datebox" editable="false" name="inClassTime"/>
                        </td>
                    </tr>
                </table>
            </div>
            <div title="重要信息" iconCls="icon-abandon" fit="true">
                <table align="center">
                    <h2 style="color: red;">以下信息极为重要,请务必真实填写,我们将为你保守秘密</h2>
                    <tr>
                        <td style="padding: 3px;">身份证号:</td>
                        <td>
                            <input class="easyui-textbox" name="idNum"
                                   data-options="required:true,validType:'idcard',prompt:'请输入您的身份证号码!',
                                   validateOnBlur:true"/>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px;">紧急联系人名称:</td>
                        <td>
                            <input class="easyui-textbox" name="emergencyName"
                                   data-options="required:true,validType:['minLength[2]','CHS'],prompt:'请输入两个以上汉字',
                           validateOnBlur:true"/>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 3px;">紧急联系人电话:</td>
                        <td><input class="easyui-textbox" name="emergencyTel"
                                   data-options="required:true,validType:'telNum',prompt:'请输入紧急联系人电话号码',
                           validateOnBlur:true"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 3px;">期望工作:</td>
                        <td><input class="easyui-textbox" name="wishWork"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 3px;">工作经历:</td>
                        <td><input class="easyui-textbox" data-options="multiline:true"
                                   name="experienceWork"
                                   style="width:405px;height:100px"/></td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</div>

<%--高级查询条件框--%>
<div id="client_advanced_search_dialog" class="easyui-dialog" iconCls="icon-search" style="top: 100px">
    <form id="client_advanced_search_form">
        <table style="align-items: center;">
            <tr>
                <td style="padding: 3px;">姓名:</td>
                <td style="padding: 3px;">
                    <input id="a_clientName" class="easyui-textbox" name="clientName"
                           data-options="validType:'minLength[2]',prompt:'请输入两个以上字符',
                           validateOnBlur:true"/>
                </td>
                <td style="padding: 3px;">性别:</td>
                <td style="padding: 3px;">
                    <select id="a_gender" class="easyui-combobox" name="gender" editable="false" style="width: 173px">
                        <option value="18">男</option>
                        <option value="19">女</option>
                    </select></td>
            </tr>
            <tr>
                <td style="padding: 3px;">最小年龄:</td>
                <td style="padding: 3px;">
                    <input id="a_minAge" class="easyui-textbox" name="minAge"
                           data-options="validType:['numberCheck','length[1,2]'],prompt:'请输入1至2位数字',validateOnBlur:true"/>
                </td>
                <td style="padding: 3px;">最大年龄:</td>
                <td style="padding: 3px;">
                    <input id="a_maxAge" class="easyui-textbox" name="maxAge"
                           data-options="validType:['numberCheck','length[1,2]'],prompt:'请输入1至2位数字',validateOnBlur:true"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px;">录入时间起:</td>
                <td style="padding: 3px;">
                    <input id="a_beginTime" class="easyui-datebox" name="beginTime"/>
                </td>
                <td style="padding: 3px;">录入时间止:</td>
                <td style="padding: 3px;">
                    <input id="a_endTime" class="easyui-datebox" name="endTime"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">意向等级:</td>
                <td style="padding: 3px">
                    <input id="a_wishLevel" class="easyui-combobox" name="wishLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=2'"/>
                </td>
                <td style="padding: 3px">意向学科:</td>
                <td style="padding: 3px">
                    <input id="a_wishSubject" class="easyui-combobox" name="wishSubject.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=13'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 3px">意向校区:</td>
                <td style="padding: 3px">
                    <input id="a_wishCampus" class="easyui-combobox" name="wishCampus.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=7'"/>
                </td>
                <td style="padding: 3px">意向班级:</td>
                <td style="padding: 3px">
                    <input id="a_wishClass" class="easyui-combobox" name="wishClass.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--高级查询框buttons--%>
<div id="client_advanced_search_dialog_buttons">
    <a class="easyui-linkbutton" iconCls="icon-ok" data-cmd="advanced_submit">查询</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="advanced_cancel">取消</a>
</div>

<%--客户转正式学员框buttons--%>
<div id="client_formal_buttons">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" data-cmd="formal_submit">提交</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="formal_cancel">取消</a>
    </div>
</div>

<%--跟进客户框buttons--%>
<div id="client_trace_buttons" style="height: 30px">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="trace_submit">跟进</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="trace_cancel">取消</a>
    </div>
</div>

<%--添加/编辑客户框buttons--%>
<div id="client_add_buttons" style="height: 30px">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="add_submit">提交</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="add_cancel">取消</a>
    </div>
</div>

<%--查看潜在客户框buttons--%>
<div id="client_check_buttons" style="height: 30px">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="check_ok">了解了</a>
    </div>
</div>

</body>
</html>
































